package com.xie.springCloud.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@NoArgsConstructor
@Accessors(chain=true)//开启链式写法
public class Dept {

    private Long id;
    private String name;
    private String db_source;//数据库名称

    public Dept(String name) {
        this.name = name;
    }
}
